package com.xhm.bbs.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.xhm.common.constant.JsonFieldConst;
import com.xhm.common.pojo.vo.AbstractVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;

import static com.xhm.bbs.pojo.example.BbsExample.*;

/**
 * 【帖子】列表展示对象
 *
 * @author mrj
 * @date 2020/01/01
 */
@ApiModel(description = "【帖子】列表展示对象")
public class BbsListVO extends AbstractVO {

    @ApiModelProperty(notes = N_ID,example = E_ID)
    private Long id;

    @ApiModelProperty(notes = N_USER_ID,example = E_USER_ID)
    private Integer userId;

    @ApiModelProperty(notes = N_DD,example = E_DD)
    private String dd;

    @ApiModelProperty(notes = N_CREATED_TIME,example = E_CREATED_TIME)
    @JsonFormat(pattern=JsonFieldConst.DEFAULT_DATETIME_FORMAT,timezone="GMT+8")
    private Date createdTime;

    @ApiModelProperty(notes = N_OPERATED_TIME,example = E_OPERATED_TIME)
    @JsonFormat(pattern=JsonFieldConst.DEFAULT_DATETIME_FORMAT,timezone="GMT+8")
    private Date operatedTime;


    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getUserId() {
        return this.userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getDd() {
        return this.dd;
    }

    public void setDd(String dd) {
        this.dd = dd;
    }

    public Date getCreatedTime() {
        return this.createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getOperatedTime() {
        return this.operatedTime;
    }

    public void setOperatedTime(Date operatedTime) {
        this.operatedTime = operatedTime;
    }



}

